#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :assert_in_list_36.py
# @Time      :2020/6/23 16:03
# @Author    :Administrator

test_list = [1, 6, 3, 5, 3, 4]
print('查看4是否在列表中(使用循环)')

if 1 in test_list:
    print("存在")
else:
    print("不存在")

# 清空列表
test_list.clear()
print(test_list)
